package com.hwg.emp.dto;

public class PageBean {
	private int start;
	private int page;
	private int precord;
	public int getStart() {
		return (page-1)*precord;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPrecord() {
		return precord;
	}
	public void setPrecord(int precord) {
		this.precord = precord;
	}
	public PageBean() {
		super();
		// TODO Auto-generated constructor stub
	}
	public PageBean(int page, int precord) {
		super();
		this.page = page;
		this.precord = precord;
	}
}
